package com.suzhe.ymall.promotion.enums;

/**
 * @author suzhe
 * @date 2019/8/18
 */
public enum  CouponExpireMode {

    DAY("1", "有效天数"),
    END_TIME("2", "截止日期");

    private String code;
    private String desc;

    CouponExpireMode(String code, String msg) {
        this.code = code;
        this.desc = msg;
    }

    public String value(){
        return this.code;
    }

    public String desc(){
        return desc;
    }
}
